home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 1843 / 1843.xpi / content / firebug / firebugOverlay.xul < prev    next >
Extensible Markup Language  |  2010-01-15  |  29KB  |  376 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://firebug/content/firebug.css"?>
  3. <!DOCTYPE window [
  4. <!ENTITY % firebugDTD SYSTEM "chrome://firebug/locale/firebug.dtd">
  5. %firebugDTD;
  6. <!ENTITY % chromebugDTD SYSTEM "chrome://global/locale/editMenuOverlay.dtd">
  7. %chromebugDTD;
  8. ]>
  9. <overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  10.     <stringbundleset id="stringbundleset">
  11.         <stringbundle id="strings_firebug" src="chrome://firebug/locale/firebug.properties"/>
  12.     </stringbundleset>
  13.     <commandset id="mainCommandSet">
  14.         <!-- TODO Firebug.Editors. -->
  15.         <command id="cmd_openFirebugEditors" oncommand="Firebug.openEditors()"/>
  16.         <command id="cmd_openInEditor" oncommand="Firebug.openInEditor(FirebugContext, event.sourceEvent.target.value)"/>
  17.         <!-- end TODO Firebug.Editors. -->
  18.         <command id="cmd_clearConsole" oncommand="Firebug.Console.clear(FirebugContext)"/>
  19.         <command id="cmd_togglePersistConsole" oncommand="Firebug.Console.togglePersist(FirebugContext)"/>
  20.         <command id="cmd_clearNet" oncommand="Firebug.NetMonitor.clear(FirebugContext)"/>
  21.         <command id="cmd_toggleSuspendFirebug" oncommand="Firebug.toggleSuspend()"/>
  22.         <command id="cmd_closeFirebug" oncommand="Firebug.closeFirebug(true)"/>
  23.         <command id="cmd_disablePanels" oncommand="Firebug.disablePanels(FirebugContext)"/>
  24.         <command id="cmd_toggleInspecting" oncommand="if (!FirebugContext) Firebug.toggleBar(true); Firebug.Inspector.toggleInspecting(FirebugContext)"
  25.                  checked="false"/>
  26.         <command id="cmd_toggleQuickInfoBox" oncommand="Firebug.Inspector.toggleQuickInfoBox()"
  27.                  checked="false"/>
  28.         <command id="cmd_toggleProfiling" oncommand="Firebug.Profiler.toggleProfiling(FirebugContext)"/>
  29.         <command id="cmd_toggleHTMLEditing" oncommand="FirebugContext.getPanel('html').toggleEditing()"/>
  30.         <command id="cmd_toggleCSSEditing" oncommand="FirebugContext.getPanel('stylesheet').toggleEditing()"/>
  31.         <command id="cmd_focusCommandLine" oncommand="if (FirebugContext) Firebug.CommandLine.focus(FirebugContext)"/>
  32.         <command id="cmd_focusFirebugSearch" oncommand="if (FirebugContext) Firebug.Search.focus(FirebugContext);"/>
  33.         <command id="cmd_focusWatchEditor" oncommand="if (FirebugContext) Firebug.Debugger.focusWatch(FirebugContext);"/>
  34.         <command id="cmd_focusLocation" oncommand="if (FirebugContext) FirebugChrome.focusLocationList(FirebugContext);"/>
  35.         <command id="cmd_breakOnNext" oncommand="FirebugChrome.breakOnNext(FirebugContext, event);"/>
  36.         <command id="cmd_resumeExecution" oncommand="Firebug.Debugger.resume(FirebugContext)" disabled="true"/>
  37.         <command id="cmd_stepOver" oncommand="Firebug.Debugger.stepOver(FirebugContext)" disabled="true"/>
  38.         <command id="cmd_stepInto" oncommand="Firebug.Debugger.stepInto(FirebugContext)" disabled="true"/>
  39.         <command id="cmd_stepOut" oncommand="Firebug.Debugger.stepOut(FirebugContext)" disabled="true"/>
  40.         <command id="cmd_reenterCommand" oncommand="Firebug.CommandLine.reenter(FirebugContext)"/>
  41.         <command id="cmd_previousFirebugTab" oncommand="FirebugChrome.gotoPreviousTab()"/>
  42.         <command id="cmd_leftFirebugTab" oncommand="FirebugChrome.gotoSiblingTab(false)"/>
  43.         <command id="cmd_rightFirebugTab" oncommand="FirebugChrome.gotoSiblingTab(true)"/>
  44.         <command id="cmd_nextObject" oncommand="FirebugChrome.gotoNextObject()"/>
  45.         <command id="cmd_previousObject" oncommand="FirebugChrome.gotoNextObject(true)"/>
  46.         <command id="cmd_clearAllBreakpoints" oncommand="Firebug.Debugger.clearAllBreakpoints(FirebugContext)"/>
  47.         <command id="cmd_breakOnErrors" oncommand="Firebug.togglePref('breakOnErrors')"/>
  48.         <command id="cmd_decompileEvals" oncommand="Firebug.togglePref('decompileEvals')"/>
  49.         <command id="cmd_toggleTraceConsole" oncommand="Firebug.TraceModule.openConsole()"/>
  50.         <command id="cmd_toggleFirebug" oncommand="Firebug.toggleBar()"/>
  51.         <command id="cmd_detachFirebug" oncommand="Firebug.toggleDetachBar(false, true)"/>
  52.         <command id="cmd_minimizeFirebug" oncommand="Firebug.minimizeBar()"/>
  53.         <command id="cmd_toggleDetachFirebug" oncommand="Firebug.toggleDetachBar()"/>
  54.         <command id="cmd_enablePanels" oncommand="Firebug.ModuleManager.enableModules()"/>
  55.         <command id="cmd_disablePanels" oncommand="Firebug.ModuleManager.disableModules()"/>
  56.         <command id="cmd_allOn" oncommand="Firebug.Activation.toggleAll('on')"/>
  57.         <command id="cmd_clearActivationList" oncommand="Firebug.Activation.clearAnnotations()"/>
  58.         <command id="cmd_customizeFBKeys" oncommand="Firebug.ShortcutsModel.customizeShortcuts()"/>
  59.         <command id="cmd_resetAllOptions" oncommand="Firebug.resetAllOptions(true);"/>
  60.         <command id="cmd_inspect" oncommand="Firebug.Inspector.inspectFromContextMenu(document.popupNode);"/>
  61.         <command id="cmd_togglePersistNet" oncommand="Firebug.NetMonitor.togglePersist(FirebugContext)"/>
  62.     </commandset>
  63.     <keyset id="mainKeyset">
  64.         <key id="key_reenterCommand" key="e" modifiers="control,shift" command="cmd_reenterCommand" class="fbOnlyKey"/>
  65.         <key id="key_toggleInspecting" key="c" modifiers="accel,shift" command="cmd_toggleInspecting" />
  66.         <key id="key_toggleQuickInfoBox" key="i" modifiers="accel,shift" command="cmd_toggleQuickInfoBox" />
  67.         <key id="key_toggleProfiling" key="p" modifiers="accel,shift" command="cmd_toggleProfiling" class="fbOnlyKey"/>
  68.         <key id="key_focusCommandLine" key="l" modifiers="accel,shift" command="cmd_focusCommandLine" class="fbOnlyKey"/>
  69.         <key id="key_focusFirebugSearch" key="k" modifiers="accel,shift" command="cmd_focusFirebugSearch" class="fbOnlyKey"/>
  70.         <key id="key_focusWatchEditor" key="n" modifiers="accel,shift" command="cmd_focusWatchEditor" class="fbOnlyKey"/>
  71.         <key id="key_focusLocation" key=" " modifiers="accel,shift" command="cmd_focusLocation" class="fbOnlyKey"/>
  72.         <key id="key_focusLocation" key=" " modifiers="control" command="cmd_focusLocation" class="fbOnlyKey"/>
  73.         <key id="key_nextObject" key="." modifiers="control" command="cmd_nextObject" class="fbOnlyKey"/>
  74.         <key id="key_previousObject" key="," modifiers="control" command="cmd_previousObject" class="fbOnlyKey"/>
  75.         <key id="key_previousFirebugTab" key="`" modifiers="control" command="cmd_previousFirebugTab" class="fbOnlyKey"/>
  76.         <key id="key_leftFirebugTab" keycode="VK_PAGE_UP" modifiers="accel shift" command="cmd_leftFirebugTab"/>
  77.         <key id="key_rightFirebugTab" keycode="VK_PAGE_DOWN" modifiers="accel shift" command="cmd_rightFirebugTab"/>
  78.         <key id="key_customizeFBKeys" keycode="VK_B" modifiers="accel shift alt" command="cmd_customizeFBKeys"/>
  79.         <key id="key_toggleFirebug" keycode="VK_F12" command="cmd_toggleFirebug"/>
  80.         <key id="key_detachFirebug" keycode="VK_F12" modifiers="accel" command="cmd_detachFirebug"/>
  81.         <key id="key_clearConsole" key="r" modifiers="accel,shift" command="cmd_clearConsole" class="fbOnlyKey"/>
  82.     </keyset>
  83.     <popupset id="mainPopupSet">
  84.         <popup id="fbContextMenu" onpopupshowing="return FirebugChrome.onContextShowing(event);">
  85.             <menuitem label="©Cmd.label;" accesskey="©Cmd.accesskey;" command="cmd_copy"/>
  86.         </popup>
  87.         <popup id="fbInlineEditorPopup" />
  88.         <tooltip id="fbTooltip" class="fbURLMenuItem"
  89.             onpopupshowing="return FirebugChrome.onTooltipShowing(event);"/>
  90.         <popup id="fbQuickInfoPanel" width="210" noautohide="true"
  91.             onmousedown="Firebug.Inspector.quickInfoBoxDragStart(event);"
  92.             onmousemove="Firebug.Inspector.quickInfoBoxDrag(event);"
  93.             onmouseup="Firebug.Inspector.quickInfoBoxDragEnd(event);">
  94.             <vbox></vbox>
  95.         </popup>
  96.     </popupset>
  97.     <!-- Main UI -->
  98.     <vbox id="fbContentBox">
  99.         <box id="fbPanelBox" flex="1">
  100.             <panelBar id="fbPanelBar1" class="panelBar" flex="3" persist="width,height">
  101.                 <hbox id="fbPanelBar1-tabBox" class="panelTabBox" collapsed="true">
  102.                     <hbox id="fbPanelBar1-buttons" class="innerToolbar" role="toolbar"
  103.                           aria-label="Firebug Tools">
  104.                         <!-- Firebug Icon Menu -->
  105.                         <toolbarbutton id="fbFirebugMenu" type="menu" label="firebug options"
  106.                                 role="button" aria-haspopup="true" owns="fbFirebugMenuPopup">
  107.                             <image src="chrome://firebug/skin/firebug.png"/>
  108.                             <!-- Content comes from fbFirebugMenuPopup -->
  109.                         </toolbarbutton>
  110.                         <!-- HTML Inspector -->
  111.                         <toolbarbutton id="fbInspectButton" tooltiptext="&firebug.InspectTooltip;"
  112.                                 command="cmd_toggleInspecting" collapsed="false">
  113.                             <image src="chrome://firebug/skin/Templarian_inspector.png"/>
  114.                         </toolbarbutton>
  115.                         <!-- Break On Next -->
  116.                         <toolbarbutton id="fbBreakOnNextButton" command="cmd_breakOnNext"
  117.                                 tooltiptext="script.Break On Next" breakable="disabled" />
  118.                     </hbox>
  119.                     <!-- Tab Bar -->
  120.                     <hbox id="fbPanelBar1-panelTabs" class="panelTabs" role="tablist"
  121.                         aria-label="firebug panels" />
  122.                     <spacer flex="1"/>
  123.                     <!-- Search Box -->
  124.                     <vbox>
  125.                         <spacer flex="1"/>
  126.                         <textbox id="fbSearchBox" type="fbSearchBox" />
  127.                         <spacer flex="1"/>
  128.                     </vbox>
  129.                     <!-- Open In New Window & Minimize & Close -->
  130.                     <hbox id="fbWindowButtons" role="toolbar" class="innerToolbar"
  131.                         aria-label="firebug window">
  132.                         <toolbarbutton id="fbMinimizeButton" class="toolbarbutton-iconic"
  133.                             tooltiptext="Minimize Firebug" command="cmd_minimizeFirebug"/>
  134.                         <toolbarbutton id="fbDetachButton" class="toolbarbutton-iconic"
  135.                             tooltiptext="&firebug.DetachFirebug;" command="cmd_detachFirebug"/>
  136.                         <toolbarbutton id="fbCloseButton" class="toolbarbutton-iconic"
  137.                             tooltiptext="&firebug.CloseFirebug;" command="cmd_closeFirebug"/>
  138.                     </hbox>
  139.                 </hbox>
  140.                 <!-- Firebug Panels Content -->
  141.                 <box id="fbPanelPane" flex="1" persist="orient">
  142.                     <vbox flex="3">
  143.                         <toolbox id="fbToolbox">
  144.                             <toolbar id="fbToolbar" align="center" role="toolbar">
  145.                                 <hbox id="fbToolbarInner" class="innerToolbar" insertbefore="fbDetachButton" flex="1" align="center">
  146.                                     <hbox id="fbConsoleButtons" collapsed="true">
  147.                                         <toolbarbutton label="&firebug.Clear;" class="toolbar-text-button"
  148.                                             tooltiptext="&firebug.ClearTooltip;" command="cmd_clearConsole"/>
  149.                                         <toolbarbutton label="firebug.console.Persist" class="toolbar-text-button" id="fbConsolePersist"
  150.                                             type="checkbox" tooltiptext="firebug.console.Do Not Clear On Reload" command="cmd_togglePersistConsole"/>
  151.                                         <toolbarbutton id="fbToggleProfiling" label="&firebug.Profile;" class="toolbar-text-button"
  152.                                             type="checkbox" command="cmd_toggleProfiling"/>
  153.                                     </hbox>
  154.                                     <hbox id="fbHTMLButtons" collapsed="true">
  155.                                         <toolbarbutton label="&firebug.Edit;" class="toolbar-text-button"
  156.                                             tooltiptext="&firebug.EditHTMLTooltip;" command="cmd_toggleHTMLEditing"/>
  157.                                     </hbox>
  158.                                     <hbox id="fbCSSButtons" collapsed="true">
  159.                                         <toolbarbutton label="&firebug.Edit;" class="toolbar-text-button"
  160.                                             tooltiptext="&firebug.EditCSSTooltip;" command="cmd_toggleCSSEditing"/>
  161.                                     </hbox>
  162.                                     <hbox id="fbScriptButtons" collapsed="true">
  163.                                         <tooltip id="fbScriptFilterMenuTooltip" role="presentation"
  164.                                             onpopupshowing="return Firebug.Debugger.onScriptFilterMenuTooltipShowing(this, FirebugContext)"/>
  165.                                         <toolbarbutton id="fbScriptFilterMenu" type="menu" tooltip="fbScriptFilterTooltip" role="button" aria-haspopup="true">
  166.                                             <menupopup
  167.                                                 oncommand="return Firebug.Debugger.onScriptFilterMenuCommand(event, FirebugContext)"
  168.                                                 onpopupshowing="return Firebug.Debugger.onScriptFilterMenuPopupShowing(this, FirebugContext)"
  169.                                                 onpopuphiding="return Firebug.Debugger.onScriptFilterMenuPopupHiding(this, FirebugContext)">
  170.                                                 <menuitem type="radio" name="fbScriptFilterMenu" value="static"/>
  171.                                                 <menuitem type="radio" name="fbScriptFilterMenu" value="evals"/>
  172.                                                 <menuitem type="radio" name="fbScriptFilterMenu" value="events"/>
  173.                                                 <menuitem type="radio" name="fbScriptFilterMenu" value="all"/>
  174.                                             </menupopup>
  175.                                         </toolbarbutton>
  176.                                     </hbox>
  177.                                     <hbox id="fbNetButtons" collapsed="true">
  178.                                         <toolbarbutton label="&firebug.Clear;" class="toolbar-text-button"
  179.                                                         tooltiptext="&firebug.ClearTooltip;" command="cmd_clearNet"/>
  180.                                         <toolbarbutton id="fbNetPersist" label="firebug.console.Persist"
  181.                                                         class="toolbar-text-button"
  182.                                                         tooltiptext="firebug.console.Do Not Clear On Reload"
  183.                                                         command="cmd_togglePersistNet"/>
  184.                                         <hbox id="fbNetButtonsFilter" class="noTabStop">
  185.                                             <toolbarseparator/>
  186.                                             <toolbarbutton id="fbNetFilter-all" label="&firebug.All;" type="radio" class="toolbar-text-button"
  187.                                                 group="firebugNetFilter" checked="true"
  188.                                                 oncommand="Firebug.NetMonitor.onToggleFilter(FirebugContext, 'all')"/>
  189.                                             <toolbarbutton id="fbNetFilter-html" label="HTML" type="radio" class="toolbar-text-button"
  190.                                                 group="firebugNetFilter"
  191.                                                 oncommand="Firebug.NetMonitor.onToggleFilter(FirebugContext, 'html')"/>
  192.                                             <toolbarbutton id="fbNetFilter-css" label="CSS" type="radio" class="toolbar-text-button"
  193.                                                 group="firebugNetFilter"
  194.                                                 oncommand="Firebug.NetMonitor.onToggleFilter(FirebugContext, 'css')"/>
  195.                                             <toolbarbutton id="fbNetFilter-js" label="JS" type="radio" class="toolbar-text-button"
  196.                                                 group="firebugNetFilter"
  197.                                                 oncommand="Firebug.NetMonitor.onToggleFilter(FirebugContext, 'js')"/>
  198.                                             <toolbarbutton id="fbNetFilter-xhr" label="XHR" type="radio"
  199.                                                 tooltiptext="XMLHttpRequest"
  200.                                                 class="toolbar-text-button" group="firebugNetFilter"
  201.                                                 oncommand="Firebug.NetMonitor.onToggleFilter(FirebugContext, 'xhr')"/>
  202.                                             <toolbarbutton id="fbNetFilter-image" label="&firebug.Images;" type="radio" class="toolbar-text-button"
  203.                                                 group="firebugNetFilter"
  204.                                                 oncommand="Firebug.NetMonitor.onToggleFilter(FirebugContext, 'image')"/>
  205.                                             <toolbarbutton id="fbNetFilter-flash" label="&firebug.Flash;" type="radio"
  206.                                                 class="toolbar-text-button" group="firebugNetFilter"
  207.                                                 oncommand="Firebug.NetMonitor.onToggleFilter(FirebugContext, 'flash')"/>
  208.                                         </hbox>
  209.                                     </hbox>
  210.                                     <hbox id="fbTraceButtons" collapsed="true">
  211.                                         <toolbarseparator/>
  212.                                         <toolbarbutton id="fbTraceOpenConsole" class="toolbar-text-button"
  213.                                             label="Open Console" tooltiptext="Open Console Tooltip"
  214.                                             command="cmd_toggleTraceConsole"/>
  215.                                     </hbox>
  216.                                     <toolbarseparator id="fbLocationSeparator" collapsed="true"/>
  217.                                     <toolbarbutton id="fbLocationList" locationProvider="FirebugChrome.getLocationProvider();"
  218.                                           collapsed="true" tooltip="fbTooltip" contextmenu="fbContextMenu"
  219.                                           class="noTabStop" role="button" aria-haspopup="true" aria-label="file selector"/>
  220.                                     <toolbarseparator id="fbStatusSeparator" collapsed="true"/>
  221.                                     <panelStatus id="fbPanelStatus" flex="1"
  222.                                         tooltip="fbTooltip" contextmenu="fbContextMenu" class="noTabStop" />
  223.                                     <hbox id="fbDebuggerButtons" minwidth="126" collapsed="true" class="noTabStop">
  224.                                         <toolbarbutton id="fbContinueButton" command="cmd_resumeExecution"
  225.                                             tooltiptext="script.Break On Next" class="toolbar-image-button"/>
  226.                                         <toolbarbutton id="fbStepIntoButton" command="cmd_stepInto"
  227.                                             tooltiptext="&firebug.StepInto;" class="toolbar-image-button"/>
  228.                                         <toolbarbutton id="fbStepOverButton" command="cmd_stepOver"
  229.                                             tooltiptext="&firebug.StepOver;" class="toolbar-image-button"/>
  230.                                         <toolbarbutton id="fbStepOutButton" command="cmd_stepOut"
  231.                                             tooltiptext="&firebug.StepOut;" class="toolbar-image-button"/>
  232.                                     </hbox>
  233.                                 </hbox>
  234.                             </toolbar>
  235.                         </toolbox>
  236.                         <deck anonid="deck" id="fbPanelBar1-deck" flex="1">
  237.                             <browser id="fbPanelBar1-browser"
  238.                                      tooltip="fbTooltip" contextmenu="fbContextMenu"
  239.                                      disablehistory="true"
  240.                                      src="chrome://firebug/content/panel.html"
  241.                                      role="tabpanel" />
  242.                         </deck>
  243.                     </vbox>
  244.                     <splitter id="fbPanelSplitter"/>
  245.                     <deck id="fbSidePanelDeck" persist="width,height">
  246.                         <panelBar id="fbPanelBar2" class="panelBar">
  247.                             <hbox id="fbPanelBar2-tabBox" class="panelTabBox" collapsed="true">
  248.                                 <hbox id="fbPanelBar2-panelTabs" class="panelTabs" role="tablist"
  249.                                       aria-label="firebug side panels" />
  250.                             </hbox>
  251.                             <deck id="fbPanelBar2-deck" flex="1">
  252.                                 <browser id="fbPanelBar2-browser"
  253.                                          tooltip="fbTooltip" contextmenu="fbContextMenu"
  254.                                          disablehistory="true"
  255.                                          src="chrome://firebug/content/panel.html"
  256.                                          role="tabpanel" />
  257.                             </deck>
  258.                         </panelBar>
  259.                         <vbox id="fbLargeCommandBox">
  260.                             <textbox id="fbLargeCommandLine" multiline="true" flex="1" newlines="pasteintact"
  261.                                      label="LargeCommandLine" />
  262.                             <hbox id="fbCommandToolbar">
  263.                                 <toolbarbutton label="&firebug.Run;" class="toolbar-text-button"
  264.                                     oncommand="Firebug.CommandLine.enter(FirebugContext)"/>
  265.                                 <toolbarbutton label="&firebug.Clear;" class="toolbar-text-button"
  266.                                     oncommand="Firebug.CommandLine.clear(FirebugContext)"/>
  267.                                 <toolbarbutton label="&firebug.Copy;" class="toolbar-text-button"
  268.                                     tooltiptext="&firebug.CopyBookmarklet;"
  269.                                     oncommand="Firebug.CommandLine.copyBookmarklet(FirebugContext)"/>
  270.                                 <toolbarspacer flex="1"/>
  271.                                 <toolbarbutton id="fbCommandToggleLarge" class="toolbarbutton-iconic"
  272.                                     oncommand="Firebug.setPref(Firebug.prefDomain, 'largeCommandLine', false)"/>
  273.                             </hbox>
  274.                         </vbox>
  275.                     </deck>
  276.                 </box>
  277.             </panelBar>
  278.             <popup id="inspectorPopup" style="background: transparent; border: 2px solid red">
  279.                 <label value="inspect"/>
  280.             </popup>
  281.         </box>
  282.         <hbox id="fbCommandBox">
  283.             <label id="fbCommandArow" value=">>>"/>
  284.             <textbox id="fbCommandLine" flex="1" label="console command line" aria-autocomplete="inline" />
  285.             <toolbarbutton id="fbCommandToggleSmall" class="toolbarbutton-iconic"
  286.                            oncommand="Firebug.setPref(Firebug.prefDomain, 'largeCommandLine', true)"/>
  287.         </hbox>
  288.         <!-- Firebug Tools & Icon menu -->
  289.         <menupopup id="fbFirebugMenuPopup" role="menu"
  290.                    onpopupshowing="return FirebugChrome.onOptionsShowing(this);">
  291.             <!-- Open -->
  292.             <menuitem id="menu_toggleFirebug" type="checkbox"
  293.                       label="&firebug.ShowFirebug;" command="cmd_toggleFirebug"
  294.                       key="key_toggleFirebug" />
  295.             <menuitem id="menu_detachFirebug" label="&firebug.DetachFirebug;"
  296.                       command="cmd_toggleDetachFirebug" type="checkbox"
  297.                       key="key_detachFirebug"/>
  298.             <!-- Editors -->
  299.             <menu label="&firebug.OpenWith;" id="FirebugMenu_OpenWith">
  300.                 <menupopup id="fbFirebugMenu_OpenWith"
  301.                     onpopupshowing="return FirebugChrome.onEditorsShowing(this);">
  302.                         <menuitem label="&firebug.ConfigureEditors;..." command="cmd_openFirebugEditors"/>
  303.                 </menupopup>
  304.             </menu>
  305.             <menuseparator  id="menu_openActionsSeparator"/>
  306.             <!-- Text Size -->
  307.             <menu label="&firebug.TextSize;" id="FirebugMenu_TextSize">
  308.                 <menupopup>
  309.                     <menuitem label="&firebug.IncreaseTextSize;"
  310.                               oncommand="Firebug.increaseTextSize(1)"/>
  311.                     <menuitem label="&firebug.DecreaseTextSize;"
  312.                               oncommand="Firebug.increaseTextSize(-1)"/>
  313.                     <menuitem label="&firebug.NormalTextSize;" oncommand="Firebug.setTextSize(0)"/>
  314.                 </menupopup>
  315.             </menu>
  316.             <!-- Options -->
  317.             <menu label="&firebug.Options;" id="FirebugMenu_Options">
  318.                 <menupopup onpopupshowing="return FirebugChrome.onOptionsShowing(this);"
  319.                            id="FirebugMenu_OptionsPopup">
  320.                     <menuitem type="checkbox" label="&firebug.AlwaysOpenInWindow;"
  321.                               oncommand="FirebugChrome.onToggleOption(this)"
  322.                               option="openInWindow"/>
  323.                     <menuitem type="checkbox" label="&firebug.ShowTooltips;"
  324.                               oncommand="FirebugChrome.onToggleOption(this)"
  325.                               option="showInfoTips"/>
  326.                     <menuitem type="checkbox" label="&firebug.ShadeBoxModel;"
  327.                               oncommand="FirebugChrome.onToggleOption(this)"
  328.                               option="shadeBoxModel"/>
  329.                     <menuitem type="checkbox" id="showQuickInfoBox" label="firebug_options_showQuickInfoBox"
  330.                               oncommand="FirebugChrome.onToggleOption(this)"
  331.                               option="showQuickInfoBox"/>
  332.                     <menuitem type="checkbox" id="menu_enableA11y"
  333.                               label="firebug.menu.Enable Accessibility Enhancements"
  334.                               oncommand="FirebugChrome.onToggleOption(this)"
  335.                               option="a11y.enable"/>
  336.                     <menuitem type="checkbox" id="menu_activateSameOrigin"
  337.                               label="firebug.menu.Activate Same Origin URLs"
  338.                               oncommand="FirebugChrome.onToggleOption(this)"
  339.                               option="activateSameOrigin"/>
  340.                     <menuseparator id="menu_optionsSeparator"/>
  341.                     <menuitem id="menu_resetAllOptions"
  342.                               label="firebug.menu.Reset All Firebug Options"
  343.                               command="cmd_resetAllOptions"/>
  344.                 </menupopup>
  345.             </menu>
  346.             <menuseparator id="FirebugBetweenOptionsAndSites" collapsed="true"/>
  347.             <!-- Sites -->
  348.             <menu label="firebug.menu.Firebug Online" id="FirebugMenu_Sites">
  349.                 <menupopup id="FirebugMenu_SitesPopup">
  350.                     <menuitem label="&firebug.Website;" oncommand="Firebug.visitWebsite('main')"/>
  351.                     <menuitem label="&firebug.Documentation;" oncommand="Firebug.visitWebsite('docs')"/>
  352.                     <menuitem label="&firebug.Forums;" oncommand="Firebug.visitWebsite('discuss')"/>
  353.                     <menuitem label="&firebug.Issues;" oncommand="Firebug.visitWebsite('issues')"/>
  354.                     <menuitem label="&firebug.Donate;" oncommand="Firebug.visitWebsite('donate')"/>
  355.                 </menupopup>
  356.             </menu>
  357.             <menuseparator  id="menu_miscActionsSeparator"/>
  358.             <menuitem id="menu_inspectElement" label="&firebug.InspectElement;"
  359.                       command="cmd_toggleInspecting" key="key_toggleInspecting"/>
  360.             <menuitem label="&firebug.ProfileScript;"
  361.                       command="cmd_toggleProfiling" key="key_toggleProfiling"/>
  362.             <menuitem id="menu_focusCommandLine" label="&firebug.CommandLine;"
  363.                       command="cmd_focusCommandLine" key="key_focusCommandLine"/>
  364.             <menuitem id="menu_focusFirebugSearch" label="&firebug.Search;"
  365.                       command="cmd_focusFirebugSearch" key="key_focusFirebugSearch"/>
  366.             <menuseparator id="menu_toolsSeparator"/>
  367.             <menuitem id="menu_customizeShortcuts"
  368.                       label="firebug.menu.Customize shortcuts"
  369.                       command="cmd_customizeFBKeys" key="key_customizeFBKeys" />
  370.             <menuseparator id="menu_aboutSeparator"/>
  371.             <menuitem id="Firebug_About" label="&firebug.About;"
  372.                       oncommand="FirebugChrome.openAboutDialog()"/>
  373.         </menupopup>
  374.     </vbox>
  375. </overlay>
  376.